package drive.Model;

import lombok.Data;

import java.util.Date;

@Data
public class Article {
    int articleID;
    int authorID;
    String title;
    String content;
    int likeCount;
    int favoriteCount;
    int commentCount;
    Date creationTime;
    int recommendationIndex;
    double longitude;
    double latitude;
    String tag;
    Status status;

    public enum Status{
        draft,published,pendingReview,deleted
    }

}
